/* here is functions.less */


.gradelist{
    width: 100%;
    overflow: hidden;
    float: left;
}
.btnmore {
    float: left;
    height: 34px;
    line-height: 34px;
}
.btnmore a:hover {
    text-decoration: none;
}
.more a:hover {
    text-decoration: none;
}
.classclose {
    height:34px;
}


.hasTooltip{
    position: relative;
    display: inline-block;
    .ie7-inline-block();
    .popover{
       width:400px;
       max-width: 500px;
    }
    &:hover{


        .popover{
            display: block;
        }
    }
}

.has_mask {
    position: relative;
}


.videos_with_mask{
    .video-photo{
        position: relative;
        overflow: hidden;
    }
}

.video_infos_mask {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left:0;

    .background_mask {
        width: 100%;
        height: 100%;
        background: #000 data-uri(%("%simages/btn_play.png",@customImgPath)) no-repeat center center;
        opacity: 0.8;
        filter: alpha(opacity=80);
        z-index: 10;
        position: relative;
        float: left;
    }

    .video_info {
        position: absolute;
        bottom: 0;
        right:0;
        z-index: 11;
        width: 100%;
        // height: 100%;
        clear: both;
        color: #F7FBFF;
        text-align: right;
        margin-bottom: 3px;
        .title{
            display: none;
        }
        .ico{
            display: inline-block;
            .ie7-inline-block();
            top: 3px;
            display: inline-block;
        }
        span{
            color:@white;
            margin-right: 5px;
            position: relative;
            line-height: 20px;
        }
        
        p, h4 {
            padding: 0 3px;
        }


        .align_bottom {
            position: absolute;
            left: 30%;
            bottom: 5px;
        }

        .btn {
            padding: 5px 20px;
            text-align: center;
        }
    }
}

.video_infos_mask:hover {
	cursor: pointer;
}
.video-photo-inline-infos{
    position: absolute;
    bottom:-1px;
    width:100%;
    height:25px;
    text-align: right;
    .video-photo-inline-infos-bg{
        width:100%;
        height:25px;
        position: absolute;
        z-index: 9;
        background:@grayDarker;
        .opacity(70);
    }
    .video-photo-inline-infos-content{
        position: relative;
        z-index: 10;
        height:29px;
        
        span{
            vertical-align: top;
            line-height: 25px;
        }
        // line-height: 29px;
        a,a:hover,
        .view_count{

            display: inline-block;
            .ie7-inline-block();
            margin:0 5px;
            color:@dddGray;
        }
        a,a:hover{
            line-height: 25px;
        }
       
        .ico{
              display: inline-block;
              margin-right: 5px;
              // margin-bottom: 3px;
              vertical-align: middle;
                  position: relative;
                top: -1px;
        }
    }

}

/* 
 *  video utils icon
 */

.MarkingRecommend_icon{
    
    background: data-uri(%("%simages/tuijian%s.png",@customImgPath,@suffixImg));
    position: absolute;
    top: 0;
    left: 0;
    width: 62px;
    height: 62px;
}


.weike_icon{
    position: absolute;
    top: 0;
    right: 0;
    width: 62px;
    height: 62px;
    background:  data-uri(~"@{customImgPath}images/weike@{suffixImg}.png") no-repeat;

}


.add_fav {
    text-indent: 0;
    padding:6px 10px;
    border:1px solid #ccc;
    font-size: 12px;
    color:#555;
    .border-radius(6px);
    &.active{
        display: inline;
    }
    &.active,
    &:hover{
        .ico-star-acitve-ico{
         
           .sprite(@star_inacitve_ico);
        }
        .ico-star-inacitve-ico{
          .sprite(@star_acitve_ico);
        }
        .ico{
            display: inline-block;
            .ie7-inline-block();
        }
    }
    .ico{
        display: inline-block;
        .ie7-inline-block();
        vertical-align: middle;
    }
}

/* 
*  changeStyle 
*/
.changeStyle {
    display: block;
    text-indent: -9000px;
    background: url(app/app/colorS.gif);
    width: 12px;
    height: 12px;
    float: right;
    border: 3px solid #Dadada;
}

#greyICO {
    background-position: -7px 15px;
}

#greenICO {
    background-position: 46px 15px;
}

#brownICO {
    background-position: 24px 15px;
}

.toggleWarp {
    text-align: right;
}











/*
*  timelines
*/

.timelines {
    position: relative;
    width: 380px;
    height: 100px;
    margin-left: 280px;
    margin-top: 30px;
    overflow: hidden;
    color: #fff;
    background: url('../images/images/timeline_icons.png') no-repeat;
    /*left: 264px;*/
    .begintime {
        position: absolute;
        top: 55px;
        left: 18px;
        width: 80px;
        height: 20px;
        overflow: hidden;
    }

    .cutofftime {
        position: absolute;
        top: 55px;
        left: 158px;
        width: 80px;
        height: 20px;
        overflow: hidden;
    }

    .endtime {
        position: absolute;
        top: 55px;
        left: 300px;
        width: 80px;
        height: 20px;
        overflow: hidden;
    }
}



.no-timeline .ratingstar {
    display: none;
}





/*
 * flash_messages
 */
// affix
.affix{
    // right:10px;
    left:10%;
    z-index: 999;
}
.flash_messages-wrapper{
    z-index:9999;
    width:80%;
}
.flash_messages {
    margin-bottom: 0;
    text-align: justify;
    display: none;
    position: relative;
    margin-top: 20px;
    h4{
        display: inline-block;
        .ie7-inline-block();
    }
    p{
         display: inline-block;
        .ie7-inline-block();
        text-align: center;
        width: 80%;
    }
}


/*
 * loading
 */

.loadingIMG {
    text-align: center;
    margin: 0 auto;
}

.loadingIMG img {
    width: 17px;
}

/*
 * paraket
 */
.paraket-wrapper{
    margin-top:5px;
}
/*
 * finale
 */
.finale-panel {
  position: absolute;
  left: 0;
  bottom: 25px;
  background: #2B2A2A;
  z-index: 99;
}
.finale-panel p {
  font-size: 12px;
  margin: 0;
  line-height: 12px;
  padding: 10px;
  color: #EBC206;
}
.finale-panel .jump-to-play-btn {
  padding: 5px 10px;
  background: #151514;
  color: #B8B3B3;
  margin-left: 10px;
}